package com.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

@Data
public class PatientRecords {

  private Long recordsId;
  @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  //private Timestamp records_Time;
  //private String recordsType;
  //private String infect;
  //private String message;
 // private String mainSuit;
  //private String docterSuggest;
  private String hospital;
  private Long personalRecordsId;
  //private Long recordsNumber;

  @ApiModelProperty(name = "recordsNumber",notes = "诊断编号",dataType = "Long",required = true)
  private Long recordsNumber;

  @ApiModelProperty(name = "recordsTime",notes = "发表日期",dataType = "String",required = true)
  private String recordsTime;

  @ApiModelProperty(name = "recordsType ",notes = "诊断类型",dataType = "String",required = true)
  private String recordsType ;

  @ApiModelProperty(name = " infect",notes = "是否传染",dataType = "String",required = true)
  private String  infect;

  @ApiModelProperty(name = "mainSuit ",notes = "主诉",dataType = "String",required = false)
  private String mainSuit ;

  @ApiModelProperty(name = "message ",notes = "诊断详情",dataType = "String",required = false)
  private String message ;

  @ApiModelProperty(name = "docterSuggest ",notes = "医生建议",dataType = "String",required = false)
  private String docterSuggest ;

  @ApiModelProperty(name = "remarks",notes = "备注",dataType = "String",required = false)
  private String remarks ;


}
